Complexity of testing morphic primitivity
نویسندگان
چکیده
The word u = abaaba satisfies f(u) = u where f maps b to aba and cancels a. Such words, which are fixed points of a nontrivial morphism, are called morphically imprimitive. On the other hand, the word u′ = abba can be easily verified to be morphically primitive, which means that the only morphism satisfying f(u′) = u′ defined on {a, b}∗ is the identity. Fixed points of word morphisms and morphically (im)primitive words are studied in [2, 3, 6, 5]. In [4], the first polynomial algorithm is presented (called MorphicFactorization) that decides whether a given word w is morphically primitive. Moreover, given the input word w, it finds a corresponding morphism satisfying f(w) = w with minimal number of letters mapped to a nonempty word (that is, not cancelled). The complexity of MorphicFactorization is estimated as O(m+ log n) · n in [4]. Here we provide a more detailed analysis of the algorithm and improve the estimate to O(|E| · n), where E is the set of those letters x for which f(x) is nonempty.
منابع مشابه
Morphic Primitivity and Alphabet Reductions
An alphabet reduction is a 1-uniform morphism that maps a word to an image that contains a smaller number of different letters. In the present paper we investigate the effect of alphabet reductions on morphically primitive words, i. e., words that are not a fixed point of a nontrivial morphism. Our first main result answers a question on the existence of unambiguous alphabet reductions for such...
متن کاملLoughborough University Institutional Repository
In the present paper, we introduce an alternative notion of the primitivity of words, that – unlike the standard understanding of this term – is not based on the power (and, hence, the concatenation) of words, but on morphisms. For any alphabet Σ, we call a word w ∈ Σ∗ morphically imprimitive provided that there are a shorter word v and morphisms h, h′ : Σ∗ → Σ∗ satisfying h(v) = w and h′(w) = ...
متن کاملMorphically Primitive Words (extended Abstract) *
In the present paper, we introduce an alternative notion of the primitivity of words, that – unlike the standard understanding of this term – is not based on the power (and, hence, the concatenation) of words, but on morphisms. For any alphabet Σ, we call a word w ∈ Σ∗ morphically imprimitive provided that there are a shorter word v and morphisms h, h′ : Σ∗ → Σ∗ satisfying h(v) = w and h′(w) = ...
متن کاملOn Subword Complexity of Morphic Sequences
We study structure of pure morphic and morphic sequences and prove the following result: the subword complexity of arbitrary morphic sequence is either Θ(n) for some k ∈ N, or is
متن کاملOn Uniformly Recurrent Morphic Sequences
In the paper we mainly deal with two well-known types of in nite words: morphic and uniformly recurrent (=almost periodic). We discuss the problem of nding criterion of uniform recurrence for morphic sequences and give e ective polynomial-time such criterion in two particular cases: pure morphic sequences and automatic sequences. We also prove that factor complexity of arbitrary uniformly recur...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Kybernetika
دوره 49 شماره
صفحات -
تاریخ انتشار 2013